{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=263
  Verdict: Accepted
}
uses 
	SysUtils, Math;
 
var
	a,b,n:longint;
	t:int64;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(a,b,n);
t:=(int64(a)*100+int64(b))*int64(n);
write(t div 100,' ',t mod 100);
end.